cmake_minimum_required(VERSION 3.10)
include_directories(${CMAKE_SOURCE_DIR}/common/utils)

set(BASE_FILES
        cm_video_ctrl.h
        cm_video_ctrl.c
        cm_video_interface.h
        cm_video_ctrl_impl_v4l2.c
        )

add_library(cm-video STATIC ${BASE_FILES})

add_executable(cm_video_test 
    cm_video_test.c
    ${BASE_FILES}
)

target_link_libraries(cm_video_test
    utils
)
